package com.atguigu.pratice;

import java.util.Scanner;

public class TheCharacterAnalysis {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String s=scanner.nextLine();
        String[] strings=new String[]{"xcopy","/s","c:\\\\","d:\\\\e"};
        String[] str=s.split(" ");
        int res=0;
        for(int i=0;i< str.length;i++){
            for(int j=0;j<strings.length;j++){
                if(str[i].contains(strings[j])){
                    res++;
                    break;
                }
            }
        }
        System.out.println(res);
        for(int i=0;i<str.length;i++){
            System.out.println(str[i]);
        }
    }
}
